// 重置默认样式
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%;
  font-size: 16px;
  color: var(--text-color);
  background-color: var(--bg-color);
}

// 使用混入示例
.container {
  @include responsive('width', 1200);
  @include responsive('padding', 20);
  margin: 0 auto;
  
  // 响应式布局示例
  @include screen-xl {
    @include responsive('width', 1400);
  }
  
  @include screen-lg {
    @include responsive('width', 1100);
  }
  
  @include screen-md {
    @include responsive('width', 900);
  }
  
  @include screen-sm {
    @include responsive('width', 100%);
    @include responsive('padding', 10);
  }
}

// 常用间距类
.margin {
  &-sm { @include responsive('margin', 10); }
  &-md { @include responsive('margin', 20); }
  &-lg { @include responsive('margin', 30); }
}

.padding {
  &-sm { @include responsive('padding', 10); }
  &-md { @include responsive('padding', 20); }
  &-lg { @include responsive('padding', 30); }
}

// 滚动条样式
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

::-webkit-scrollbar-thumb {
  background-color: rgba(144, 147, 153, 0.3);
  border-radius: 3px;
}

::-webkit-scrollbar-track {
  background-color: transparent;
}

// 通用样式类
.flex-center {
  display: flex;
  justify-content: center;
  align-items: center;
}

.flex-between {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.text-ellipsis {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
} 